QuickTime 3 Reference

| Previous | Chapter contents | Chapter top | Section top | Next |

Effect Source Descriptors

These data structures describe the sources to an effect. The SourceData data structure contains a pointer to either raw image compression manager image data or to an effect that acts as the source. The EffectSourcePtr data structure holds information about the type of source, and pointers to the track data of the effect and to the next source in the input chain.

typedef struct EffectSourceEffectSource;
typedef EffectSource*EffectSourcePtr;
union SourceData {
    CDSequenceDataSourcePtr image;
    EffectSourcePtr     effect;
};
typedef union SourceData SourceData;
image
A pointer to the raw source image data.
effect
A pointer to the effect.
struct EffectSource {
    long            effectType;
    Ptr             data;
    SourceData      source;
    EffectSourcePtr next;
};
effectType
The type of the effect or the constant kEffectRawSource if the source is raw image compression manager data.
data
A pointer to the track data for the effect.
source
The source itself.
next
A pointer to the next source in the input chain.

© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |